Remove hard tabs.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 13 Jul 2007 16:08:05 +0000 (17:08 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 13 Jul 2007 16:08:05 +0000 (17:08 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm.c
xen/common/grant_table.c

index cbdfd8875a7218dce420308b8c770609e31197fd..f308dfb2481d6a01ecf27fd23bf6aa211a2d02e5 100644 (file)
@@ -2701,15 +2701,15 @@ int replace_grant_host_mapping(
     
     if ( flags & GNTMAP_contains_pte )
     {
-       if (!new_addr)
-           return destroy_grant_pte_mapping(addr, frame, current->domain);
-
-       MEM_LOG("Unsupported grant table operation");
-       return GNTST_general_error;
+        if ( !new_addr )
+            return destroy_grant_pte_mapping(addr, frame, current->domain);
+        
+        MEM_LOG("Unsupported grant table operation");
+        return GNTST_general_error;
     }
 
-    if (!new_addr)
-       return destroy_grant_va_mapping(addr, frame, current);
+    if ( !new_addr )
+        return destroy_grant_va_mapping(addr, frame, current);
 
     pl1e = guest_map_l1e(current, new_addr, &gl1mfn);
     if ( !pl1e )
@@ -2720,7 +2720,8 @@ int replace_grant_host_mapping(
     }
     ol1e = *pl1e;
 
-    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), gl1mfn, current)) )
+    if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(),
+                                gl1mfn, current)) )
     {
         MEM_LOG("Cannot delete PTE entry at %p", (unsigned long *)pl1e);
         guest_unmap_l1e(current, pl1e);
index 15e72aea7c76fc7f8e1eee56de51b25ef3021076..74db8daff5c53532af485b0802030091842a7e33 100644 (file)
@@ -533,9 +533,9 @@ __gnttab_unmap_grant_ref(
     struct gnttab_unmap_grant_ref *op)
 {
     struct gnttab_unmap_common common = {
-       .host_addr = op->host_addr,
-       .dev_bus_addr = op->dev_bus_addr,
-       .handle = op->handle,
+        .host_addr = op->host_addr,
+        .dev_bus_addr = op->dev_bus_addr,
+        .handle = op->handle,
     };
 
     __gnttab_unmap_common(&common);
@@ -571,9 +571,9 @@ __gnttab_unmap_and_replace(
     struct gnttab_unmap_and_replace *op)
 {
     struct gnttab_unmap_common common = {
-       .host_addr = op->host_addr,
-       .new_addr = op->new_addr,
-       .handle = op->handle,
+        .host_addr = op->host_addr,
+        .new_addr = op->new_addr,
+        .handle = op->handle,
     };
 
     __gnttab_unmap_common(&common);